import Vue from 'vue'
import iView from 'iview'
import VCharts from 'v-charts'
import App from './App.vue'
import router from './router'
import store from './store'
import importDirective from '@/directive'
import config from '@/config'
import 'iview/dist/styles/iview.css';

Vue.config.productionTip = false
/**
 * ! 警告项目开发使用全部引用 上线使用按需加载 路由使用路由懒加载
 */
Vue.use(iView)
Vue.use(VCharts)
Vue.prototype.$config = config
importDirective(Vue)
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
